export type DeptTree = {
  Id: string
  DeptName: string
  ShortName: string
  DeptTag?: string[] | null
  DeptShow?: string
  LeaderId?: string | null
  LeaderName: string | null
  Status: number
  Sort: number
  IsUnit: boolean
  Children: DeptTree[]
}
export type CompanyTree = {
  Id: string
  Name: string
  Children: CompanyTree[] | null
  Dept?: string[] | null
}
export type UnitTree = {
  Id: string
  Name: string
  LeaderId?: string | null
  IsUnit: boolean
  UnitId: string | null
  Children: UnitTree[]
}
export type UnitQueryParam = {
  IsSubCompany: boolean
  CompanyId: string
  Status?: number[]
  ParentId: string[] | null
  IsUnit?: boolean
  IsDept?: boolean
  UnitId?: string
  DeptId?: string[] | null
}
